package com.example.hms.controller;

import com.example.hms.entity.Customer;
import com.example.hms.entity.LiveRecords;
import com.example.hms.service.LiveRecordsService;
import com.example.hms.util.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


@RestController
@RequestMapping("liveRecords")
public class LiveRecordsController {
    @Resource
    private LiveRecordsService  liveRecordsService;

    @RequestMapping(value = "selectAllLiveRecords", method = RequestMethod.GET)
    public Result selectAllLiveRecords(String roomNumber, String customerName, String identificationCard) {
        return liveRecordsService.selectAllLiveRecords(roomNumber, customerName, identificationCard);
    }

}

